#include <iostream>

bool Test1(bool flag = true)
{
    if(flag == true)
        std::cout << "Test1 run ..." << std::endl;

    return flag;
}

bool Test2(bool flag = false)
{
    if(flag == false)
        std::cout << "Test2 run ..." << std::endl;

    return flag;
}

int main()
{
    if(Test1(false) && Test2())
    {
        std::cout << "Test1 && Test2 run ..." << std::endl;
    }
    return 0;
}
